SOURCES		:=	. ../common/xlibrary
INCLUDES	:=	. ../common/xlibrary

CFILES		:=	$(foreach dir,$(SOURCES),$(wildcard $(dir)/*.c))
HDIRS		:=	$(foreach dir,$(INCLUDES),-I$(CURDIR)/$(dir))

analyse : $(CFILES)
	gcc -o $@ $(CFILES) $(HDIRS)

analyse.c : analyse.h

clean :
	rm -f analyse

